import { ApiProperty } from "@nestjs/swagger";
import { IsNumber, Min } from "class-validator";

export class UpdateDeliveryItemDto {
  @IsNumber()
  @Min(1)
  @ApiProperty({
    description: "送货数量",
  })
  quantity: number;
}
